package com.yunchen.BooksManagementSystem.login.service;

import java.sql.SQLException;

public interface LoginService {
    public boolean isLogin(String id,String password);
    public boolean isRegister1(String name,String grade,String direction);
    public boolean isRegister2(String userId);
    public boolean isRegister3(String invitation);
    public boolean isRegister4(String name);
    public boolean isAdm(String id);
    public void register(String name,String grade,String direction,String id,String password) throws SQLException;
}
